body {
    background-color: aliceblue;
    user-select: none;
}

.container .content-card{
    width: 83%;
    margin-right: 1.3%;
    height: auto;
    background: #fff;
    float: right;
    margin-top: 3px;
    max-height: 90vh;
    overflow: auto;
    border-radius: 5px;
    padding: 10px 10px 80px 20px;
    position: relative;
}

.content-card {
    background: white;
    padding: 24px;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.servlet_on {
    margin-top: 20px;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 8px;
}

.btn0{
    width: 150px;
    height: 30px;
}
.add{
    width: 50px;
    height: 30px;
    margin-left: 800px;
    background-color: #00aaff;
    color: #fff;
    border: none;
}
.delete{
    margin-left:20px ;
    width: 80px;
    height: 30px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

th {
    background-color: #fafafa;
    font-weight: 500;
}

.pagination {
    margin-top: 20px;
    text-align: right;
    min-width: 1000px;
}

.page-btn {
    padding: 4px 8px;
    border: 1px solid #d9d9d9;
    background: white;
    margin: 0 4px;
    cursor: pointer;
    border-radius: 2px;
}

.page-btn.active {
    background: #1890ff;
    color: white;
    border-color: #1890ff;
}

.edit_staff {
    width: 500px;
    height: auto;
    display: none;
    position: absolute;
    top: 15%;
    left: 35%;
    background-color: #fff;
    flex-direction: column;
    padding-left: 2em;
    padding-bottom: 2em;
    z-index: 2;
    border-radius: 10px;
}

.modal-header {
    padding: 16px 24px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 16px;
    font-weight: normal;
    color: #333;
}

.close-btn {
    border: none;
    background: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 4px;
}

.modal-body {
    padding: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #333;
}

.required::before {
    content: "*";
    color: #ff4d4f;
    margin-right: 4px;
}

.form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    font-size: 14px;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #40a9ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.upload-area {
    border: 1px dashed #d9d9d9;
    padding: 20px;
    text-align: center;
    background: #fafafa;
    cursor: pointer;
    transition: border-color 0.3s;
}

.upload-area:hover {
    border-color: #40a9ff;
}

.upload-preview {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-bottom: 8px;
}

.upload-text {
    color: #666;
    font-size: 14px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #f0f0f0;
    text-align: right;
}

.btn {
    padding: 8px 16px;
    border-radius: 2px;
    font-size: 14px;
    cursor: pointer;
    margin-left: 8px;
    transition: all 0.3s;
}

.btn-default {
    background: white;
    border: 1px solid #d9d9d9;
    color: #333;
}

.btn-default:hover {
    border-color: #40a9ff;
    color: #40a9ff;
}

.btn-primary {
    background: #1890ff;
    border: 1px solid #1890ff;
    color: white;
}

.btn-primary:hover {
    background: #40a9ff;
    border-color: #40a9ff;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
